<template>
  <div class="My-use">
    <div class="my-empty"></div>
    <div class="header">
      <div class="header-font">&emsp;&emsp;&emsp;&emsp;优惠券</div>
      <img
        @click="myBack"
        src="../inchildren/image/jifen_icon_fanhui.png"
        alt=""
      />
      <div class="header-rules">使用规则</div>
    </div>
    <div class="mytab">
      <van-tabs v-model="active">
        <van-tab title="未使用">
          <div class="vant-img">
            <img src="../mychildren/image/myUse_pic.png" alt="" />

            <p>这里是空哒~</p>
          </div>
        </van-tab>
        <van-tab title="待付款">
          <div class="vant-img">
            <img src="../mychildren/image/myUse_pic.png" alt="" />

            <p>这里是空哒~</p>
          </div>
        </van-tab>
        <van-tab title="待评价">
          <div class="vant-img">
            <img src="../mychildren/image/myUse_pic.png" alt="" />

            <p>这里是空哒~</p>
          </div>
        </van-tab>
      </van-tabs>
    </div>
    <!-- <div class="bg-cou-img"></div> -->
  </div>
</template>

<script>
export default {
  methods: {
    myBack() {
      this.$router.go(-1);
    },
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
body {
  background-color: #f5f5f5;
}
.my-empty {
  width: 750px;
  height: 88px;
  border-radius: 0px 0px 0px 0px;
  background-color: #fff;
  opacity: 1;
}
.header {
  width: 750px;
  height: 88px;
 
  background: #fff;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header img {
  width: 15px;
  height: 27px;
  margin-left: 48px;
  position: absolute;
  top: 35px;
}
.header-font {
  width: 520px;
  height: 88px;
  font-size: 34px;
  display: block;
  font-family: PingFangSC-Medium-, PingFangSC-Medium;
  font-weight: 800;
  color: #2f2f2f;
  line-height: 88px;
  margin-left: 30px;
  text-align: center;
  margin: 0 auto;

}

.header-rules {
  width: 120px;
  height: 42px;
  font-size: 30px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  line-height: 42px;
  color: #2f2f2f;
  margin-right: 20px;
}

/* table切换 */
.van-tab__text--ellipsis {
  text-align: center;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  width: 100px;
  height: 3.25rem;
}
.van-tabs__nav--line {
  padding: 0 0px 0 0px;
  font-size: 3.125rem;
}
.van-tabs__nav {
  padding: 22px 15px;
  height: 4.25rem;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  background-color: #fff;
  -webkit-user-select: none;
  user-select: none;
  background-color: transparent;
}
.van-tab--active {
  color: #323233;
  font-weight: 500;
  background: #d3d3d3;
  border-radius: 50px 50px 50px 50px;
}
.van-tabs--line .van-tabs__wrap {
  height: 50px;
  padding: 6px 0px;
  height: 150px;
}
.van-tabs__line {
  position: absolute;
  bottom: 0.9375rem;
  left: 0;
  z-index: 1;
  width: 2.5rem;
  height: 0.1875rem;
  /* background-color: #ee0a24; */
  border-radius: 0.1875rem;
  background-color: transparent;
}
.van-tab__pane,
.van-tab__pane-wrapper {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  height: 1250px;
}
.vant-img img{
  width: 510px;
  height: 332px;
  margin: 0 auto;
  margin-left: 120px;
}
.vant-img p{
  text-align: center;
font-size: 24px;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #2F2F2F;

}
</style>
